package com.galen.manual.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class UserProfileDTO {

    @NotBlank(message = "用户昵称不能为空")
    @Size(max = 50, message = "用户昵称长度不能超过50个字符")
    private String nickName;

    @NotBlank(message = "用户真实姓名不能为空")
    private String realName;

    private String avatarUrl;

    private String phone;

    private String address;
}